package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("goods_t")
public class Goods implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;//ID
    private String goodsName;//商品名称
    private Integer stokeNum;//商品库存

}
